export const columns = [
  {
    type: 'index',
    label: '序号',
    width: 60
  },
  {
    type: 'slot',
    slotName: 'avatar',
    label: '头像'
  },
  {
    prop: 'username',
    label: '账号'
  },
  {
    prop: 'nickname',
    label: '昵称'
  },
  {
    type: 'slot',
    slotName: 'createdAt',
    label: '创建时间'
  },
  {
    type: 'slot',
    slotName: 'enableStatus',
    label: '状态'
  },
  {
    type: 'slot',
    slotName: 'action',
    label: '操作'
  }
]

export const formItems = [
  {
    type: 'input',
    label: '账号',
    data: 'username'
  },
  {
    type: 'input',
    label: '昵称',
    data: 'nickname'
  }
]

export const excelMap = {
  账号: 'username',
  密码: 'password'
}
